import 'package:flutter/material.dart';
import '../../common/enum/work_order_detail_enum.dart';
import '../../page_widget/work_order_detail.dart';

class AssignWorkOrderDetailPage extends StatefulWidget {
  final Map arguments;

  const AssignWorkOrderDetailPage({Key? key, required this.arguments})
      : super(key: key);

  @override
  State<AssignWorkOrderDetailPage> createState() =>
      AssignWorkOrderDetailPageState();
}

class AssignWorkOrderDetailPageState extends State<AssignWorkOrderDetailPage> {
  @override
  void initState() {
    super.initState();
  }

  @override
  void dispose() {
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("工单指派详情")),
      body: WorkOrderDetail(
          no: widget.arguments["no"], detailType: DetailType.assignWorkOrder),
    );
  }
}
